/**
 * 二级页
 */

// -------------------------------二级页------------------------------------

if(location.href=="http://mzt.jl.gov.cn/wshd_74268/"){
//互动
	$("#form_cds .zly_hd_20170316rdl_ss1").attr({placeholder:"请输入搜索关键词",title:"请输入搜索关键词"});
	$("#form_cds .zly_hd_20170316rdl_ss2").attr({placeholder:"请输入搜索关键词",title:"请输入搜索关键词"});
	
//	$(".zly_mzt_20170310c .zly_hd_20170316l .zly_hd_20170316lzx .zly_mzt_20170310fl a").focus(function (e) {
//		$(this).bind("keydown.keydownhd_0", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				$("#ty_banner a:eq(0)").focus();
//				return false;
//			}else if (e.keyCode == 9) {
//				$(".zly_mzt_20170310c .zly_hd_20170316l .zly_hd_20170316lzx .civil_rcsp01_top01_titspan02 a").focus();
//				return false;
//			}
//		});
//	});
//	$(".zly_mzt_20170310c .zly_hd_20170316l .zly_hd_20170316lzx .zly_mzt_20170310fl a").blur(function () {
//		$(this).unbind("keydown.keydownhd_0");
//	});
	
	
}	


if(location.href=="http://mzt.jl.gov.cn/wshd_74268/ldxx/" || location.href=="http://mzt.jl.gov.cn/wshd_74268/wsxfss/"){
	//领导信箱--网上信访

	_EsdDynamicTransformationScript.slidePointIntervalyx = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointIntervalyx);
			
		var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
		$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"姓名",title:"姓名"});
		$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系电话",title:"联系电话"});
		$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"通讯地址",title:"通讯地址"});
		$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"单位名称",title:"单位名称"});
		$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"电子邮件",title:"电子邮件"});
		$(inputIframe).find("#frmData input:eq(5)").attr({placeholder:"标题",title:"标题"});
		
		$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});
		
		$(inputIframe).find("#SubmitButton").attr("title","提交");	
		$(inputIframe).find("#ResetButton").attr("title","重置");	

		}
	}, 500);
	
}	



if(location.href=="http://mzt.jl.gov.cn/xxgk_2643/jgzn/"){
//二级页(导航---机构)

////轮播：只获取轮播中一个a标签。
////以文字a标签为主，图片a标签尽量不要，title不稳定
//
////轮播前的标签
// _EsdDynamicTransformationScript.esdTagFrontNum1 = $(".zly_mzt_20170309navbg6 a:eq(0)");
//
////文字A标签
// _EsdDynamicTransformationScript.esdTagANum1 = $("#ty_banner .ty_banner_tu:eq(0) .ty_banner_big a");
// _EsdDynamicTransformationScript.esdTagANum2 = $("#ty_banner .ty_banner_tu:eq(1) .ty_banner_big a");
//
////左右焦点
// _EsdDynamicTransformationScript.esdTagLeftNum = $("#ty_banner_prev");
// _EsdDynamicTransformationScript.esdTagRightNum = $("#ty_banner_next");
//
////轮播后的标签
// _EsdDynamicTransformationScript.esdTagAfterNum1 = $(".zly_mzt_20170310c a:eq(0)");
//
//
//	//轮播前的焦点
//	_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
//		$(this).bind("keydown.keydown_0", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
////				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//			}else if (e.keyCode == 9) {
////				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				console.log(document.activeElement);
//				return false;
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
//		$(this).unbind("keydown.keydown_0");
//	});
//	
//	
//
//	//第一块
//	_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagFrontNum1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//				
//				if( $("#ty_banner .ty_banner_tu:eq(1)" ).is(":hidden")){
//					_EsdDynamicTransformationScript.esdTagRightNum.click();
//			    }
//				
//				_EsdDynamicTransformationScript.esdTagANum2.focus();
//				return false;
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
//		$(this).unbind("keydown.keydown_l1");
//	});
//
//	//第二块
//	_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l2", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
//				
//				if( $("#ty_banner .ty_banner_tu:eq(0)" ).is(":hidden")){
//					_EsdDynamicTransformationScript.esdTagLeftNum.click();
//			    }
//				
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
//				return false;
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
//		$(this).unbind("keydown.keydown_l2");
//	});
//	
//	_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
//		$(this).bind("keydown.keydown_l3", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagAfterNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum2.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//			
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
//		$(this).unbind("keydown.keydown_l3");
//	});
//	
	
	

	
//二级选项卡

	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num1 = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_mzt_20170310t30 .product1:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num2 = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_mzt_20170310t30 .product1:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd2TagNum1 = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_jg_20170315jgszbul li:eq(0) a");
	 _EsdDynamicTransformationScript.esd2TagNum2 = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_jg_20170315jgszbul li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_mzt_20170310t30 .product1:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_mzt_20170310t30 .product1:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_mzt_20170310t30 .product1:eq(0) a:eq("+_EsdDynamicTransformationScript.num1+")");
	 _EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".zly_mzt_20170310c .zly_jg_20170315r .zly_jg_20170315jgsz .zly_jg_20170315jgszb .zly_mzt_20170310t30 .product1:eq(1) a:eq("+_EsdDynamicTransformationScript.num2+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown2_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
		$(this).unbind("keydown.keydown2_1");
	});

	_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown2_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown2_s1");
	});

	_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown2_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown2_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown2_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
		$(this).unbind("keydown.keydown2_2");
	});



}

if(location.href=="http://mzt.jl.gov.cn/xxgk_2643/"){
//二级页(导航---公开)

//
////轮播：只获取轮播中一个a标签。
////以文字a标签为主，图片a标签尽量不要，title不稳定
//
////轮播前的标签
// _EsdDynamicTransformationScript.esdTagFrontNum1 = $(".zly_mzt_20170309navbg6 a:eq(0)");
//
////文字A标签
// _EsdDynamicTransformationScript.esdTagANum1 = $("#ty_banner .ty_banner_tu:eq(0) .ty_banner_big a");
// _EsdDynamicTransformationScript.esdTagANum2 = $("#ty_banner .ty_banner_tu:eq(1) .ty_banner_big a");
//
////左右焦点
// _EsdDynamicTransformationScript.esdTagLeftNum = $("#ty_banner_prev");
// _EsdDynamicTransformationScript.esdTagRightNum = $("#ty_banner_next");
//
////轮播后的标签
// _EsdDynamicTransformationScript.esdTagAfterNum1 = $(".zly_mzt_20170310c a:eq(0)");
//
//
//	//轮播前的焦点
//	_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
//		$(this).bind("keydown.keydown_0", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
////				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				console.log(document.activeElement);
//				return false;
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
//		$(this).unbind("keydown.keydown_0");
//	});
//	
//	
//
//	//第一块
//	_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//				
//				if( $("#ty_banner .ty_banner_tu:eq(1)" ).is(":hidden")){
//					_EsdDynamicTransformationScript.esdTagRightNum.click();
//			    }
//				
//				_EsdDynamicTransformationScript.esdTagANum2.focus();
//				console.log(document.activeElement);
//				return false;
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
//		$(this).unbind("keydown.keydown_l1");
//	});
//
//	//第二块
//	_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l2", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
//				
//				if( $("#ty_banner .ty_banner_tu:eq(0)" ).is(":hidden")){
//					_EsdDynamicTransformationScript.esdTagLeftNum.click();
//			    }
//				
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
//				_EsdDynamicTransformationScript.esd1TagNum1.focus();
//				return false;
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
//		$(this).unbind("keydown.keydown_l2");
//	});
	

	
//三级选项卡
	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num2 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(1) a").length-1;
	 _EsdDynamicTransformationScript.num3 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(2) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd1TagNum1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_bt_20170314 ul li:eq(0) a");
	 _EsdDynamicTransformationScript.esd1TagNum2 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_bt_20170314 ul li:eq(1) a");
	 _EsdDynamicTransformationScript.esd1TagNum3 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_bt_20170314 ul li:eq(2) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd1TagNum1Content1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd1TagNum2Content1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(1) a:eq(0)");
	 _EsdDynamicTransformationScript.esd1TagNum3Content1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(2) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd1TagNum1ContentN = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(0) a:eq("+_EsdDynamicTransformationScript.num1+")");
	 _EsdDynamicTransformationScript.esd1TagNum2ContentN = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(1) a:eq("+_EsdDynamicTransformationScript.num2+")");
	 _EsdDynamicTransformationScript.esd1TagNum3ContentN = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315sj .zly_gk_20170315sjb .product1:eq(2) a:eq("+_EsdDynamicTransformationScript.num3+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd1TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown1_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagAfterNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum2.focus();
//				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd1TagNum1.blur(function () {
		$(this).unbind("keydown.keydown1_1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown1_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown1_s1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown1_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
//				$(this).trigger("blur");
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown1_e1");
	});
	//第二块
	_EsdDynamicTransformationScript.esd1TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown1_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2.blur(function () {
		$(this).unbind("keydown.keydown1_2");
	});

	_EsdDynamicTransformationScript.esd1TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown1_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum2.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown1_s2");
	});

	_EsdDynamicTransformationScript.esd1TagNum2ContentN.focus(function () {
		$(this).bind("keydown.keydown1_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
//				$(this).trigger("blur");
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown1_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd1TagNum3.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown3_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd1TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum3.blur(function () {
		$(this).unbind("keydown.keydown3_3");
	});
	
	_EsdDynamicTransformationScript.esd1TagNum3Content1.focus(function () {
		$(this).bind("keydown.keydown3_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagNum3.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum3Content1.blur(function () {
		$(this).unbind("keydown.keydown3_s3");
	});
	
	
//二级选项卡

	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num4 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_gk_20170315sjb .product1:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num5 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_gk_20170315sjb .product1:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd2TagNum1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_bt_20170314 ul li:eq(0) a");
	 _EsdDynamicTransformationScript.esd2TagNum2 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_bt_20170314 ul li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_gk_20170315sjb .product1:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_gk_20170315sjb .product1:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_gk_20170315sjb .product1:eq(0) a:eq("+_EsdDynamicTransformationScript.num4+")");
	 _EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".zly_mzt_20170310c .zly_gk_20170315 .zly_gk_20170315gg .zly_gk_20170315sjb .product1:eq(1) a:eq("+_EsdDynamicTransformationScript.num5+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(this).bind("keydown.keydown2_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
		
		$(this).unbind("keydown.keydown2_1");
	});

	_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown2_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown2_s1");
	});

	_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown2_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown2_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown2_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
		$(this).unbind("keydown.keydown2_2");
	});

	

}

if(location.href=="http://mzt.jl.gov.cn/bsfw_74187/"){
//二级页(导航---服务)

////轮播：只获取轮播中一个a标签。
////以文字a标签为主，图片a标签尽量不要，title不稳定
//
////轮播前的标签
// _EsdDynamicTransformationScript.esdTagFrontNum1 = $(".zly_mzt_20170309navbg6 a:eq(0)");
//
////文字A标签
// _EsdDynamicTransformationScript.esdTagANum1 = $("#ty_banner .ty_banner_tu:eq(0) .ty_banner_big a");
// _EsdDynamicTransformationScript.esdTagANum2 = $("#ty_banner .ty_banner_tu:eq(1) .ty_banner_big a");
//
////左右焦点
// _EsdDynamicTransformationScript.esdTagLeftNum = $("#ty_banner_prev");
// _EsdDynamicTransformationScript.esdTagRightNum = $("#ty_banner_next");
//
////轮播后的标签
// _EsdDynamicTransformationScript.esdTagAfterNum1 = $(".zly_mzt_20170310c a:eq(0)");
//
//
//	//轮播前的焦点
//	_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
//		$(this).bind("keydown.keydown_0", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
////				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//			}else if (e.keyCode == 9) {
////				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				console.log(document.activeElement);
//				return false;
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
//		$(this).unbind("keydown.keydown_0");
//	});
//	
//	
//
//	//第一块
//	_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//				
//				if( $("#ty_banner .ty_banner_tu:eq(1)" ).is(":hidden")){
//					_EsdDynamicTransformationScript.esdTagRightNum.click();
//			    }
//				
//				_EsdDynamicTransformationScript.esdTagANum2.focus();
//				console.log(document.activeElement);
//				return false;
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
//		$(this).unbind("keydown.keydown_l1");
//	});
//
//	//第二块
//	_EsdDynamicTransformationScript.esdTagANum2.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l2", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
//				
//				if( $("#ty_banner .ty_banner_tu:eq(0)" ).is(":hidden")){
//					_EsdDynamicTransformationScript.esdTagLeftNum.click();
//			    }
//				
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagANum2.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
//				return false;
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagANum2.blur(function () {
//		$(this).unbind("keydown.keydown_l2");
//	});
//	
//	//轮播后的焦点
//	_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l6", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esdTagAfterNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum2.focus();
//				return false;
//			}else if (e.keyCode == 9) {
////				_EsdDynamicTransformationScript.esdTagAfterNum1.trigger("blur");
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
//		$(this).unbind("keydown.keydown_l6");
//	});


}

if(location.href=="http://mzt.jl.gov.cn/wshd_74268/" || location.href=="http://mzt.jl.gov.cn/mztyw_74291/shzzgl/"){
//二级页(导航---互动,业务)

//
////轮播：只获取轮播中一个a标签。
////以文字a标签为主，图片a标签尽量不要，title不稳定
//
////轮播前的标签
// _EsdDynamicTransformationScript.esdTagFrontNum1 = $(".zly_mzt_20170309navbg6 a:eq(0)");
//
////文字A标签
// _EsdDynamicTransformationScript.esdTagANum1 = $("#ty_banner .ty_banner_tu:eq(0) .ty_banner_big a");
//
////左右焦点
// _EsdDynamicTransformationScript.esdTagLeftNum = $("#ty_banner_prev");
// _EsdDynamicTransformationScript.esdTagRightNum = $("#ty_banner_next");
//
////轮播后的标签
// _EsdDynamicTransformationScript.esdTagAfterNum1 = $(".zly_mzt_20170310c a:eq(0)");
//
//
//	//轮播前的焦点
//	_EsdDynamicTransformationScript.esdTagFrontNum1.focus(function (e) {
//		$(this).bind("keydown.keydown_0", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
////				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//			}else if (e.keyCode == 9) {
//				_EsdDynamicTransformationScript.esdTagFrontNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				console.log(document.activeElement);
//				return false;
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esdTagFrontNum1.blur(function () {
//		$(this).unbind("keydown.keydown_0");
//	});
//	
//	
//
//	//第一块
//	_EsdDynamicTransformationScript.esdTagANum1.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l1", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
////				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//			}else if (e.keyCode == 9) {
////				_EsdDynamicTransformationScript.esdTagANum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagAfterNum1.focus();
//				return false;
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagANum1.blur(function () {
//		$(this).unbind("keydown.keydown_l1");
//	});
//
//	
//	//轮播后的焦点
//	_EsdDynamicTransformationScript.esdTagAfterNum1.focus(function (e) {
//		
//		$(this).bind("keydown.keydown_l6", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
////				_EsdDynamicTransformationScript.esdTagAfterNum1.trigger("blur");
//				_EsdDynamicTransformationScript.esdTagANum1.focus();
//				return false;
//			}else if (e.keyCode == 9) {
////				_EsdDynamicTransformationScript.esdTagAfterNum1.trigger("blur");
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esdTagAfterNum1.blur(function () {
//		$(this).unbind("keydown.keydown_l6");
//	});


}

if(location.href=="http://mzt.jl.gov.cn/mzyw_74261/"){
//二级页(民政要闻)

//八级轮播
//轮播前的标签
 _EsdDynamicTransformationScript.esd1TagFrontNum1 = $(".zly_mzt_mzyw20170310dq a:eq(1)");

//文字A标签
 _EsdDynamicTransformationScript.esd1TagANum1 = $("#ty_banner4>.ty_banner_tu4:eq(0) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 _EsdDynamicTransformationScript.esd1TagANum2 = $("#ty_banner4>.ty_banner_tu4:eq(1) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 _EsdDynamicTransformationScript.esd1TagANum3 = $("#ty_banner4>.ty_banner_tu4:eq(2) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 _EsdDynamicTransformationScript.esd1TagANum4 = $("#ty_banner4>.ty_banner_tu4:eq(3) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 _EsdDynamicTransformationScript.esd1TagANum5 = $("#ty_banner4>.ty_banner_tu4:eq(4) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 _EsdDynamicTransformationScript.esd1TagANum6 = $("#ty_banner4>.ty_banner_tu4:eq(5) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 _EsdDynamicTransformationScript.esd1TagANum7 = $("#ty_banner4>.ty_banner_tu4:eq(6) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 _EsdDynamicTransformationScript.esd1TagANum8 = $("#ty_banner4>.ty_banner_tu4:eq(7) .zly_mzt_mzyw20170310mzyw1 .zly_mzt_mzyw20170310mzywa1");
 
//原点
 _EsdDynamicTransformationScript.esd1TagCircleNum1 = $("#ty_banner_dian4 a:eq(0) span");
 _EsdDynamicTransformationScript.esd1TagCircleNum2 = $("#ty_banner_dian4 a:eq(1) span");
 _EsdDynamicTransformationScript.esd1TagCircleNum3 = $("#ty_banner_dian4 a:eq(2) span");
 _EsdDynamicTransformationScript.esd1TagCircleNum4 = $("#ty_banner_dian4 a:eq(3) span");
 _EsdDynamicTransformationScript.esd1TagCircleNum5 = $("#ty_banner_dian4 a:eq(4) span");
 _EsdDynamicTransformationScript.esd1TagCircleNum6 = $("#ty_banner_dian4 a:eq(5) span");												
 _EsdDynamicTransformationScript.esd1TagCircleNum7 = $("#ty_banner_dian4 a:eq(6) span");												
 _EsdDynamicTransformationScript.esd1TagCircleNum8 = $("#ty_banner_dian4 a:eq(7) span");												
													
//轮播后的标签
 _EsdDynamicTransformationScript.esd1TagAfterNum1 = $(".zly_mzt_mzyw20170310lb .zly_mzt_mzyw20170310lbt a:eq(0)");

	//轮播前的焦点
	_EsdDynamicTransformationScript.esd1TagFrontNum1.focus(function (e) {
		$(this).bind("keydown.keydown1_0", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum1.click();
				_EsdDynamicTransformationScript.esd1TagANum1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagFrontNum1.blur(function () {
		$(this).unbind("keydown.keydown1_0");
	});
	
	//第一块
	_EsdDynamicTransformationScript.esd1TagANum1.focus(function (e) {
		$(this).bind("keydown.keydown1_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagFrontNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd1TagANum2.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagANum1.blur(function () {
		$(this).unbind("keydown.keydown1_1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd1TagANum2.focus(function (e) {
		$(this).bind("keydown.keydown1_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagCircleNum1.click();
				_EsdDynamicTransformationScript.esd1TagANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd1TagANum3.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagANum2.blur(function () {
		$(this).unbind("keydown.keydown1_2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd1TagANum3.focus(function (e) {
		$(this).bind("keydown.keydown1_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd1TagANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd1TagANum4.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagANum3.blur(function () {
		$(this).unbind("keydown.keydown1_3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esd1TagANum4.focus(function (e) {
		$(this).bind("keydown.keydown1_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd1TagANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum5.click();
				_EsdDynamicTransformationScript.esd1TagANum5.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagANum4.blur(function () {
		$(this).unbind("keydown.keydown1_4");
	});
	
	
	//第五块
	_EsdDynamicTransformationScript.esd1TagANum5.focus(function (e) {
		$(this).bind("keydown.keydown1_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd1TagANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum6.click();
				_EsdDynamicTransformationScript.esd1TagANum6.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagANum5.blur(function () {
		$(this).unbind("keydown.keydown1_5");
	});
	
	//第六块
	_EsdDynamicTransformationScript.esd1TagANum6.focus(function (e) {
		$(this).bind("keydown.keydown1_6", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagCircleNum5.click();
				_EsdDynamicTransformationScript.esd1TagANum5.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum7.click();
				_EsdDynamicTransformationScript.esd1TagANum7.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagANum6.blur(function () {
		$(this).unbind("keydown.keydown1_6");
	});
	
	//第七块
	_EsdDynamicTransformationScript.esd1TagANum7.focus(function (e) {
		$(this).bind("keydown.keydown1_7", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagCircleNum6.click();
				_EsdDynamicTransformationScript.esd1TagANum6.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagCircleNum8.click();
				_EsdDynamicTransformationScript.esd1TagANum8.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagANum7.blur(function () {
		$(this).unbind("keydown.keydown1_7");
	});
	
	//第八块
	_EsdDynamicTransformationScript.esd1TagANum8.focus(function (e) {
		$(this).bind("keydown.keydown1_8", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagCircleNum7.click();
				_EsdDynamicTransformationScript.esd1TagANum7.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagAfterNum1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd1TagANum8.blur(function () {
		$(this).unbind("keydown.keydown1_8");
	});
	
	//轮播后的焦点
//	_EsdDynamicTransformationScript.esd1TagAfterNum1.focus(function (e) {
//		$(this).bind("keydown.keydown1_9", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				_EsdDynamicTransformationScript.esd1TagCircleNum8.click();
//				_EsdDynamicTransformationScript.esd1TagANum8.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//				
//			}
//		});
//	});
//	_EsdDynamicTransformationScript.esd1TagAfterNum1.blur(function () {
//		$(this).unbind("keydown.keydown1_9");
//	});
		
	
//五级轮播	
//轮播前的标签
// _EsdDynamicTransformationScript.esd1TagAfterNum1;

_EsdDynamicTransformationScript.esd2TagATitle1 = $("#ty_banner_diansx a:eq(0)").text();
_EsdDynamicTransformationScript.esd2TagATitle2 = $("#ty_banner_diansx a:eq(1)").text();
_EsdDynamicTransformationScript.esd2TagATitle3 = $("#ty_banner_diansx a:eq(2)").text();
_EsdDynamicTransformationScript.esd2TagATitle4 = $("#ty_banner_diansx a:eq(3)").text();
_EsdDynamicTransformationScript.esd2TagATitle5 = $("#ty_banner_diansx a:eq(4)").text();
	//轮播a标签的title
$("#ty_bannersx>.ty_banner_tusx:eq(0) .ty_banner_big a:eq(0)").attr("title", _EsdDynamicTransformationScript.esd2TagATitle1 );
$("#ty_bannersx>.ty_banner_tusx:eq(1) .ty_banner_big a:eq(0)").attr("title", _EsdDynamicTransformationScript.esd2TagATitle2 );
$("#ty_bannersx>.ty_banner_tusx:eq(2) .ty_banner_big a:eq(0)").attr("title", _EsdDynamicTransformationScript.esd2TagATitle3 );
$("#ty_bannersx>.ty_banner_tusx:eq(3) .ty_banner_big a:eq(0)").attr("title", _EsdDynamicTransformationScript.esd2TagATitle4 );	
$("#ty_bannersx>.ty_banner_tusx:eq(4) .ty_banner_big a:eq(0)").attr("title", _EsdDynamicTransformationScript.esd2TagATitle5 );	
	
//文字A标签
 _EsdDynamicTransformationScript.esd2TagANum1 = $("#ty_bannersx>.ty_banner_tusx:eq(0) .ty_banner_big a:eq(0)");
 _EsdDynamicTransformationScript.esd2TagANum2 = $("#ty_bannersx>.ty_banner_tusx:eq(1) .ty_banner_big a:eq(0)");
 _EsdDynamicTransformationScript.esd2TagANum3 = $("#ty_bannersx>.ty_banner_tusx:eq(2) .ty_banner_big a:eq(0)");
 _EsdDynamicTransformationScript.esd2TagANum4 = $("#ty_bannersx>.ty_banner_tusx:eq(3) .ty_banner_big a:eq(0)");
 _EsdDynamicTransformationScript.esd2TagANum5 = $("#ty_bannersx>.ty_banner_tusx:eq(4) .ty_banner_big a:eq(0)");

//原点
 _EsdDynamicTransformationScript.esd2TagCircleNum1 = $("#ty_banner_diansx a:eq(0) .ty_banner_diansxtime");
 _EsdDynamicTransformationScript.esd2TagCircleNum2 = $("#ty_banner_diansx a:eq(1) .ty_banner_diansxtime");
 _EsdDynamicTransformationScript.esd2TagCircleNum3 = $("#ty_banner_diansx a:eq(2) .ty_banner_diansxtime");
 _EsdDynamicTransformationScript.esd2TagCircleNum4 = $("#ty_banner_diansx a:eq(3) .ty_banner_diansxtime");
 _EsdDynamicTransformationScript.esd2TagCircleNum5 = $("#ty_banner_diansx a:eq(4) .ty_banner_diansxtime");
													
//轮播后的标签
 _EsdDynamicTransformationScript.esd2TagAfterNum1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313 a:eq(0)");


	//轮播前的焦点
	_EsdDynamicTransformationScript.esd1TagAfterNum1.focus(function (e) {
	console.log("1")
		$(this).bind("keydown.keydown2_0", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagCircleNum8.click();
				_EsdDynamicTransformationScript.esd1TagANum8.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum1.click();
				_EsdDynamicTransformationScript.esd2TagANum1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagAfterNum1.blur(function () {
		$(this).unbind("keydown.keydown2_0");
	});
	
	//第一块
	_EsdDynamicTransformationScript.esd2TagANum1.focus(function (e) {
	console.log("2")
		$(this).bind("keydown.keydown2_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd1TagAfterNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				console.log("22")
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd2TagANum2.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum1.blur(function () {
		$(this).unbind("keydown.keydown2_1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd2TagANum2.focus(function (e) {
	console.log("3")
		$(this).bind("keydown.keydown2_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum1.click();
				_EsdDynamicTransformationScript.esd2TagANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd2TagANum3.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum2.blur(function () {
		$(this).unbind("keydown.keydown2_2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd2TagANum3.focus(function (e) {
		$(this).bind("keydown.keydown2_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd2TagANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd2TagANum4.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum3.blur(function () {
		$(this).unbind("keydown.keydown2_3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esd2TagANum4.focus(function (e) {
		$(this).bind("keydown.keydown2_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd2TagANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum5.click();
				_EsdDynamicTransformationScript.esd2TagANum5.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum4.blur(function () {
		$(this).unbind("keydown.keydown2_4");
	});
	
	//第五块
	_EsdDynamicTransformationScript.esd2TagANum5.focus(function (e) {
		$(this).bind("keydown.keydown2_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd2TagANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum5.blur(function () {
		$(this).unbind("keydown.keydown2_5");
	});
	
	//轮播后的焦点
//	_EsdDynamicTransformationScript.esd2TagAfterNum1.focus(function (e) {
//		
//		$(this).bind("keydown.keydown2_6", function (e) {
//			if(e.shiftKey&&e.keyCode==9){
//				$(this).trigger("blur");
//				_EsdDynamicTransformationScript.esd2TagCircleNum5.click();
//				_EsdDynamicTransformationScript.esd2TagANum5.focus();
//				return false;
//			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
//			}
//		});
//
//	});
//	_EsdDynamicTransformationScript.esd2TagAfterNum1.blur(function () {
//		$(this).unbind("keydown.keydown2_6");
//	});
	
//二级选项卡，政务动态+媒体关注	

	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .product-wrap .product:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num2 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .product-wrap .product:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd3TagNum1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .zly_mzt_mzyw_dfxx20170313bt .zly_mzt_20170310mzyw_t li:eq(0) a");
	 _EsdDynamicTransformationScript.esd3TagNum2 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .zly_mzt_mzyw_dfxx20170313bt .zly_mzt_20170310mzyw_t li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .product-wrap .product:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .product-wrap .product:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .product-wrap .product:eq(0) a:eq("+_EsdDynamicTransformationScript.num1+")");
	 _EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(0) .product-wrap .product:eq(1) a:eq("+_EsdDynamicTransformationScript.num2+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(this).bind("keydown.keydown3_x1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(this).unbind("keydown.keydown3_x1");
				
				if( $("#ty_bannersx .ty_banner_tusx:eq(4)" ).is(":hidden") ){
					_EsdDynamicTransformationScript.esd2TagCircleNum5.click();
			    }
				
				_EsdDynamicTransformationScript.esd2TagANum5.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
		$(this).unbind("keydown.keydown3_x1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown3_x1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown3_x1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown3_x1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown3_x1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown3_x2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
		$(this).unbind("keydown.keydown3_x2");
	});
	
	
//二级选项卡，地方信息+理论研究


	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num3 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .product-wrap .product:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num4 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .product-wrap .product:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd4TagNum1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .zly_mzt_mzyw_dfxx20170313bt .zly_mzt_20170310mzyw_t li:eq(0) a");
	 _EsdDynamicTransformationScript.esd4TagNum2 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .zly_mzt_mzyw_dfxx20170313bt .zly_mzt_20170310mzyw_t li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd4TagNum1Content1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .product-wrap .product:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd4TagNum2Content1 = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .product-wrap .product:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd4TagNum1ContentN = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .product-wrap .product:eq(0) a:eq("+_EsdDynamicTransformationScript.num3+")");
	 _EsdDynamicTransformationScript.esd4TagNum2ContentN = $(".zly_mzt_20170310c .zly_mzt_mzyw_dfxx20170313:eq(1) .product-wrap .product:eq(1) a:eq("+_EsdDynamicTransformationScript.num4+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(this).bind("keydown.keydown4_x1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
		
		$(this).unbind("keydown.keydown4_x1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown4_x1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown4_x1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown4_x1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown4_x1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown4_x2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
		$(this).unbind("keydown.keydown4_x2");
	});
	




}

















